import 'package:library_base/entities/generated/json/base/json_field.dart';
import 'package:library_base/entities/generated/json/distribution_child_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class DistributionChildEntity {
  late String id;
  late String orderId;
  String? orderNumber;
  String? consignee;
  String? mobilePhone;
  String? detailedaddress;
  String? stationTime;
  late String status;
  late double goodsNumber;

  DistributionChildEntity();

  factory DistributionChildEntity.fromJson(Map<String, dynamic> json) =>
      $DistributionChildEntityFromJson(json);

  Map<String, dynamic> toJson() => $DistributionChildEntityToJson(this);

  @override
  String toString() => json.encode(this);
}
